package com.springboot.bookmanegersystem.mapper;

import com.springboot.bookmanegersystem.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;

/**
 * Created with IntelliJ IDEA.
 * Description :
 * User: jiume
 * Date: 2025-05-09
 * Time: 11:07
 */
@Mapper
public interface UserMapper {

    // 根据用户名查询用户信息
    UserInfo queryUserInfoByUsername(String username);

    // 插入用户信息
    Integer insert(String username, String newPasswordEncrypt);
}
